package com.example.raidball;

public class Player {
	boolean[] islvlLockWorld1 = new boolean[10];
	boolean[] islvlLockWorld2 = new boolean[10];
	boolean[] isworldLock = new boolean[2];
	long[] scoreWorld1 = new long[10];
	long[] scoreWorld2 = new long[10];
	
	public long getScoreWorld1(int pos){
		return this.scoreWorld1[pos];
	}
	public void setScoreWorld1(int pos, long score){
		this.scoreWorld1[pos]= score;
	}
	public boolean[] getIslvlLockWorld1(int pos) {
		return islvlLockWorld1;
	}
	public void setIslvlLockWorld1(boolean[] islvlLockWorld1) {
		this.islvlLockWorld1 = islvlLockWorld1;
	}
	public boolean[] getIslvlLockWorld2() {
		return islvlLockWorld2;
	}
	public void setIslvlLockWorld2(boolean[] islvlLockWorld2) {
		this.islvlLockWorld2 = islvlLockWorld2;
	}
	public boolean[] getIsworldLock() {
		return isworldLock;
	}
	public void setIsworldLock(boolean[] isworldLock) {
		this.isworldLock = isworldLock;
	}

	public Player() {
		
		isworldLock[0]=false;
		isworldLock[1]=true;
		
		for(int i = 0; i<islvlLockWorld1.length;i++){
			islvlLockWorld1[i]=true;
		}
		for(int i = 0; i<islvlLockWorld2.length;i++){
			islvlLockWorld2[i]=true;
		}
		for(int i = 0; i<scoreWorld1.length;i++){
			scoreWorld1[i]=0;
		}
		for(int i = 0; i<scoreWorld2.length;i++){
			scoreWorld2[i]=0;
		}
		
		islvlLockWorld1[0]=false;
		islvlLockWorld1[1]=false;
		islvlLockWorld1[2]=false;
		scoreWorld1[0]=100;
		
		
	}

	
	

}
